﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using Volo.Abp.Application.Services;
using WMS.Seven.Models;

namespace WMSProject.SuJiaHao
{
    /// <summary>
    /// 库位管理服务接口
    /// </summary>
    public interface IWarehouseLocationService : IApplicationService
    {
        /// <summary>
        /// 获取库位管理列表
        /// </summary>
        /// <param name="pageIndex">页容量</param>
        /// <param name="pageSize">当前页</param>
        /// <returns>返回库位管理的泛型集合</returns>
        Task<ReturnSelect<object>> GetWarehouseLocationList(string locationNumber,string locationName, int pageIndex, int pageSize);

        /// <summary>
        /// 库位管理添加
        /// </summary>
        /// <param name="input">库位管理实体</param>
        /// <returns></returns>
        Task<int> GetCreateWarehouseLocation(CreateWarehouseLocationDTO input);

        /// <summary>
        /// 库位管理信息删除
        /// </summary>
        /// <param name="id">条件编号</param>
        /// <returns>返回受影响行数</returns>
        Task<int> DeleteWarehouseLocation(int id);

        /// <summary>
        /// 库位管理反填
        /// </summary>
        /// <param name="id">条件编号</param>
        /// <returns>返回库位管理实体</returns>
        Task<WarehouseLocationManagement> GetWarehouseLocationManagement(int id);

        /// <summary>
        /// 库位管理修改
        /// </summary>
        /// <param name="input">库位管理实体</param>
        /// <returns>返回受影响行数</returns>
        Task<int> UpdateWarehouseLocationManagement(CreateWarehouseLocationDTO input);
    }
}
